package com.server.mapper;

import com.server.entity.Animals;
import com.server.Examples.AnimalsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AnimalsMapper {
    long countByExample(AnimalsExample example);

    int deleteByExample(AnimalsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Animals record);

    int insertSelective(Animals record);

    List<Animals> selectByExample(AnimalsExample example);

    Animals selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Animals record, @Param("example") AnimalsExample example);

    int updateByExample(@Param("record") Animals record, @Param("example") AnimalsExample example);

    int updateByPrimaryKeySelective(Animals record);

    int updateByPrimaryKey(Animals record);
}